From: Roger Pau Monne Date: Tue, 26 Apr 2016 10:07:48 +0000 (+0200) Subject: build: set HOSTCXX based on clang value for Kconfig xconfig target X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~1241 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=22372e7724e2ba651efe9f934e1694bd40157474;p=xen.git build: set HOSTCXX based on clang value for Kconfig xconfig target The xconfig Kconfig target requires a C++ compiler because it uses Qt. Signed-off-by: Roger Pau Monné Reviewed-by: Andrew Cooper Reviewed-by: Doug Goldstein Reviewed-by: Wei Liu Release-acked-by: Wei Liu --- diff --git a/Config.mk b/Config.mk index fd8371aef6..4a5ebedb35 100644 --- a/Config.mk +++ b/Config.mk @@ -50,9 +50,11 @@ clang ?= n ifeq ($(clang),n) gcc := y HOSTCC ?= gcc +HOSTCXX ?= g++ else gcc := n HOSTCC ?= clang +HOSTCXX ?= clang++ endif